<child name="calendar" schema="org.gnome.shell.calendar"/>
<child name="keybindings" schema="org.gnome.shell.keybindings"/>
<child name="keyboard" schema="org.gnome.shell.keyboard"/>
- <child name="location" schema="org.gnome.shell.location"/>
</schema>
<schema id="org.gnome.shell.calendar" path="/org/gnome/shell/calendar/"
</key>
</schema>
- <enum id="org.gnome.shell.geoclue.AccuracyLevel">
- <value value="1" nick="country"/>
- <value value="4" nick="city"/>
- <value value="5" nick="neighborhood"/>
- <value value="6" nick="street"/>
- <value value="8" nick="exact"/>
- </enum>
- <schema id="org.gnome.shell.location"
- path="/org/gnome/shell/location/"
- gettext-domain="@GETTEXT_PACKAGE@">
- <key type="b" name="enabled">
- <default>true</default>
- <_summary>Geolocation services are enabled.</_summary>
- <_description>
- If true, applications are allowed to access location information.
- </_description>
- </key>
- <key name="max-accuracy-level" enum="org.gnome.shell.geoclue.AccuracyLevel">
- <default>'exact'</default>
- <_summary>The maximum accuracy level of location.</_summary>
- <_description>
- Configures the maximum level of location accuracy applications are
- allowed to see. Valid options are 'country', 'city', 'neighborhood',
- 'street', and 'exact' (typically requires GPS receiver). Please keep in
- mind that this only controls what GeoClue will allow applications to see
- and they can find user's location on their own using network resources
- (albeit with street-level accuracy at best).
- </_description>
- </key>
- </schema>
-
<schema id="org.gnome.shell.app-switcher"
path="/org/gnome/shell/app-switcher/"
gettext-domain="@GETTEXT_PACKAGE@">
const PopupMenu = imports.ui.popupMenu;
const Shell = imports.gi.Shell;
-const LOCATION_SCHEMA = 'org.gnome.shell.location';
+const LOCATION_SCHEMA = 'org.gnome.system.location';
const MAX_ACCURACY_LEVEL = 'max-accuracy-level';
const ENABLED = 'enabled';